package com.gitee.exporttool.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.session.ResultHandler;

import java.util.LinkedHashMap;

public interface ExportMapper {

    @Select("${sql}")
    IPage<LinkedHashMap<String, Object>> selectMap(IPage<?> page, @Param("sql") String sql);

    void selectMap(IPage<?> page, @Param("sql") String sql, ResultHandler handler);
}
